package mmap

import (
	"fmt"
	"go-source-learn/src/util/ioutil"
	"log"
)

func readByMmap() {
	_buff, err := ioutil.ReadByMmap("mmap.go")
	if err != nil {
		log.Fatalf("err:%v\n", err.Error())
		return
	}
	fmt.Println(string(_buff))
}
